UCF STIG Viewer Logo

The macOS system must be configured to disable SMB File Sharing unless it is required.


Overview

Finding ID Version Rule ID IA Controls Severity
V-257185 APPL-13-002001 SV-257185r905188_rule Medium
Description
File sharing is usually nonessential and must be disabled if not required. Enabling any service increases the attack surface for an intruder. By disabling unnecessary services, the attack surface is minimized.
STIG Date
Apple macOS 13 (Ventura) Security Technical Implementation Guide 2023-08-28

Details

Check Text ( C-60870r905186_chk )
Verify the macOS system is configured to disable the SMB File Sharing service with the following command:

/bin/launchctl print-disabled system | /usr/bin/grep com.apple.smbd

"com.apple.smbd" => disabled

If the results are not "com.apple.smbd => disabled" or SMB file sharing has not been documented with the ISSO as an operational requirement, this is a finding.
Fix Text (F-60811r905187_fix)
Configure the macOS system to disable the SMB File Sharing service with the following command:

/usr/bin/sudo /bin/launchctl disable system/com.apple.smbd

The system may need to be restarted for the update to take effect.